
import request from 'utils/request'

// 用户网站列表
export const listUserWebsite = ({name, url}) => {
  return request({
    method: 'GET',
    url: 'website/listUserWebsite',
    params: {
      name,
      url
    }
  })
}

// 查看更多/查询单个分类的网站
export const getMoreWebsite = ({id}) => {
  return request({
    method: 'POST',
    url: 'website/getMoreWebsite',
    data: {
      id
    }
  })
}

// 浏览量加一
export const viewNumAutoincrement = ({id}) => {
  return request({
    method: 'POST',
    url: 'website/viewNumAutoincrement',
    data: {
      id
    }
  })
}